package com.meowcook.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 28792
 * Date: 2025-05-26
 * Time: 14:58
 */
@Data
@ApiModel(value = "食谱更新参数")
public class RecipeUpdateDTO {
    @NotNull
    @ApiModelProperty(value = "食谱id", required = true)
    private Long id;

    @ApiModelProperty(value = "食谱信息")
    private RecipeDTO recipeDTO;

    @ApiModelProperty(value = "新增步骤")
    private List<CookingAddDTO> cookingAddList;

    @ApiModelProperty(value = "新增食材")
    private List<MaterialAddDTO> materialAddList;

    @ApiModelProperty(value = "新增厨具")
    private List<CookerAddDTO> cookerAddList;

    @ApiModelProperty(value = "修改步骤")
    private List<CookingUpdateDTO> cookingUpdateList;

    @ApiModelProperty(value = "修改食材")
    private List<MaterialUpdateDTO> materialUpdateList;

    @ApiModelProperty(value = "修改厨具")
    private List<CookerUpdateDTO> cookerUpdateList;
}
